package core.actions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import core.Process;
import api.GUIapi;

public class StartSplit implements ActionListener {

	private GUIapi api;

	public StartSplit(GUIapi api) {
		this.api = api;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		new Thread(new Process(api)).start();
	}
}
